<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

Route::get('/', 'admin/Index/index');

Route::get('index', 'admin/main/index');

Route::get('userlist', 'admin/Con1/userlist');
Route::get('useradd', 'admin/Con1/add');
Route::get('useredit/:id', 'admin/Con1/edit');

Route::get('grouplist', 'admin/Con2/grouplist');
Route::get('groupadd', 'admin/Con2/add');
Route::get('groupedit/:id', 'admin/Con2/edit');

Route::get('nodelist', 'admin/Con3/nodelist');
Route::get('nodeadd', 'admin/Con3/add');
Route::get('nodeedit/:id', 'admin/Con3/edit');

// 分配角色
Route::get('showgroup/:id', 'admin/Con1/showgroup');
Route::get('savegroup', 'admin/Con1/savegroup/id');

// 分配权限
Route::get('shownode/:id', 'admin/Con2/shownode');
Route::get('savenode', 'admin/Con2/savenode/id');





return [

];
